<?php include_once("accesscheck.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        
        <title><?php echo getSetting('CMSTitle', 'KAN Content Management System'); ?></title>
        
        <link rel="shortcut icon" type="image/png" href="../favicon.png" />
        <link rel="stylesheet" type="text/css" href="css/widestyles.css"/>
        <link rel="stylesheet" type="text/css" href="css/cms.css"/>
        <link rel="stylesheet" type="text/css" href="css/cms-ui.css"/>
        <link rel="stylesheet" type="text/css" href="css/util.css"/>
        <link rel="stylesheet" type="text/css" href="../assets/scripts/jquery/css/ui-lightness/jquery-ui.css"/>

        <script type="text/javascript" src="../assets/scripts/jquery/js/jquery.js"></script>
        <script type="text/javascript" src="../assets/scripts/jquery/js/jquery-ui.js"></script>
        <script type="text/javascript" src="../assets/scripts/common/pageManager.js"></script>
        <script type="text/javascript" src="scripts/system.js"></script>
        <script type="text/javascript" src="scripts/ui.js"></script>

    </head>

    <body>

        <div id="page">
            <div id="header">
                <?php include('logo_header.php'); ?>
            </div>

            <?php if (isset($_SESSION['CMS_Username'])) { ?>
                <div id="site-info-bar">
                    <?php include('system_menu.php'); ?>
                </div>
            <?php } ?>


            <div id="content-wrapper">
                <div id="content-header">
                    <span>
                        CONTENT MANAGEMENT SECTION
                    </span>
                </div>
                <div id="content">

                    <div id="nav">
                        <?php include('nav_section.php'); ?>
                    </div>

                    <div id="main">
                        <?php echo $layout_content; ?>
                    </div>
                </div>
            </div>

            <div id="footer">
                <?php include('footer.php'); ?>
            </div>
        </div>

    </body>

</html>